
from django.urls import path
from apps.orders import views

urlpatterns = [
    # 添加订单 # 获取订单列表
    path('orders',views.OrdersView.as_view()),
    # 拒单和接单
    path('orders/<int:order_id>/status',views.OrdersAcTion.as_view()),
    # 评价订单
    path('orders/<int:order_id>/comment',views.OrdersCommit.as_view()),
]